package ro.quadroq.imc.dates;

import java.text.DateFormat;
import java.text.SimpleDateFormat;
import java.util.Date;

public class TimeT {
  
public void getCurrentDate(){
DateFormat dateFormat = new SimpleDateFormat("hh:mm");
Date date = new Date();
System.out.println(dateFormat.format(date));
}

public static void main(String[] args) {
TimeT date = new TimeT();
date.getCurrentDate();

}
}